{% extends "base.html" %}{% block content_base %}
{% for article in articles %}<div class="article">{{ article.content }}
<div class="footer_article">{{ article.time_date|date:"m月d日 H时i分s秒 Y年" }} 发表时间</div></div>{% endfor %}
<div class="article overflow_hidden">
	{% if pre_page %}
		<div class="float_left"><a href="/{{ pre_page.key.id }}_b.html">上一页</a></div>
	{% endif %}
	{% if next_page %}
		<div class="float_right"><a href="/{{ next_page.key.id }}_b.html">下一页</a></div>
	{% endif %}
</div>
{% if is_admin %}<div id="form_footer"><form action="" method="post">
	<div class="full_width"><textarea name="content_form" id="textarea_form"></textarea></div>
	<div class="full_width align_right"><input type="submit" value="提交新笔记" /></div>
</form></div>{% endif %}
{% endblock %}
